home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / dema / crysis_sp_demo.exe / AllOth~1.cab / shaders.pak / Shaders / Terrain.ext < prev    next >
Encoding:
Text File  |  2007-07-18  |  2.8 KB  |  123 lines

  1. ////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  Crytek Engine Source File.
  4. //  Shader extension
  5. //  Copyright (C), Crytek Studios, 2001-2004.
  6. // -------------------------------------------------------------------------
  7. //  File name:   TerrainLayer.ext
  8. //  Version:     v1.00
  9. //  Created:     16/2/2004 by Andrey Honich.
  10. //  Compilers:   
  11. //  Description: TerrainLayer shader extension used by the editor
  12. //               for automatic shader generation (based on "TerrainLayer" shader template)
  13. // -------------------------------------------------------------------------
  14. //  History:
  15. //
  16. ////////////////////////////////////////////////////////////////////////////
  17.  
  18. Version (1.00)
  19.  
  20. Property
  21. {
  22.   Name = %BUMP_MAP
  23.   Mask = 0x4
  24.   Property    (Bump map)
  25.   Description (Use bump-map texture)
  26.   DependencySet = $TEX_Bump
  27.   DependencyReset = $TEX_Bump
  28.   Hidden
  29. }
  30.  
  31. Property
  32. {
  33.   Name = %ENVCMSPEC
  34.   Mask = 0x80
  35.   Property    (Specular EnvCM)
  36.   Description (Use per-pixel Env. CM reflections with fresnel)  
  37.   DependencyReset = $TEX_EnvCM
  38. }
  39.  
  40. Property
  41. {
  42.   Name = %GLOSS_MAP
  43.   Mask = 0x200
  44.   Property    (Gloss map)
  45.   Description (Use gloss map as separate texture)
  46.   DependencySet = $TEX_Gloss
  47.   DependencyReset = $TEX_Gloss
  48.   Hidden
  49. }
  50. Property
  51. {
  52.   Name = %GLOSS_DIFFUSEALPHA
  53.   Mask = 0x400
  54.   Property    (Gloss map DifAlpha)
  55.   Description (Use gloss map as alpha channel in diffuse texture)
  56. }
  57.  
  58. Property
  59. {
  60.   Name = %OFFSETBUMPMAPPING
  61.   Mask = 0x1000
  62.   Property    (Offset bump mapping)
  63.   Description (Use Offset bump mapping (requires height-map in alpha-channel of bump texture))
  64.   DependencyReset = $TEX_Bump
  65. }
  66.  
  67. Property
  68. {
  69.   Name = %SPECULARPOW_GLOSSALPHA
  70.   Mask = 0x4000
  71.   Property    (PerPixel Spec. Shinines)
  72.   Description (Use specular shininess coef. as alpha channel of gloss texture)
  73.   DependencyReset = $TEX_Gloss
  74. }
  75.  
  76. Property
  77. {
  78.   Name = %DETAIL_BUMP_MAPPING
  79.   Mask = 0x8000
  80.   Property    (Detail bump mapping)
  81.   Description (Use detail bump mapping)
  82. }
  83.  
  84. Property
  85. {
  86.   Name = %ALLOW_POM
  87.   Mask = 0x1000000
  88.   DependencySet = $HW_AllowPOM
  89.   DependencyReset = $HW_AllowPOM
  90.   Hidden  
  91. }
  92.  
  93. Property
  94. {
  95.   Name = %PARALLAX_OCCLUSION_MAPPING
  96.   Mask = 0x8000000
  97.   Property    (Parallax occlusion mapping)
  98.   Description (Use parallax occlusion mapping (requires height map in alpha channel of bump texture))
  99.   DependencyReset = $TEX_Bump
  100. }
  101. Property
  102. {
  103.   Name = %STAT_BRANCHING
  104.   Mask = 0x10000000
  105.   DependencySet = $HW_StaticBranching
  106.   DependencyReset = $HW_StaticBranching
  107.   Hidden
  108. }
  109. Property
  110. {
  111.   Name = %DYN_BRANCHING
  112.   Mask = 0x20000000
  113.   DependencySet = $HW_DynamicBranching
  114.   DependencyReset = $HW_DynamicBranching
  115.   Hidden
  116. }
  117.  
  118. Property
  119. {
  120.   Name = %TEMP_TERRAIN
  121.   Mask = 0x40000000
  122. }
  123.